isJavaScriptEnabled

public abstract boolean isJavaScriptEnabled()

Indicates whether JavaScript on the web pages loaded in the browser is enabled.

Throws

when the browser is closed